home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 37 / CD Expert nº 37.iso / LastCall / lastcall.exe / stuff / lastcall.dxr / 00217_Preview Tip.ls < prev    next >
Encoding:
Text File  |  2000-03-27  |  2.3 KB  |  76 lines

  1. property pSpr, pHeaven
  2.  
  3. on beginSprite me
  4.   global gGameLevel, gGameSetup, gUserTips
  5.   pHeaven = 0
  6.   pSpr = sprite(me.spriteNum)
  7.   pMember = pSpr.member
  8.   pMember.boxType = #fixed
  9.   pMember.scrollTop = 0
  10.   pMember.FirstIndent = 0
  11.   if inGameMode() then
  12.     nextLevel = gGameLevel + 1
  13.     if nextLevel > count(gGameSetup) then
  14.       pHeaven = 1
  15.     else
  16.       if nextLevel <= 9 then
  17.         vo = "Z0" & nextLevel
  18.         managerVO(vo)
  19.       else
  20.         if nextLevel = 10 then
  21.           managerVO("z10")
  22.         else
  23.           nothing()
  24.         end if
  25.       end if
  26.     end if
  27.   end if
  28.   tipList = []
  29.   repeat with X = 1 to count(gUserTips)
  30.     if gUserTips[X][#tipType] = #Manager then
  31.       add(tipList, X)
  32.     end if
  33.   end repeat
  34.   oldTabs = pMember.Tabs
  35.   if inBonusMode() then
  36.     if gGameLevel = 1 then
  37.       temp = "Tip:" && gUserTips[#bonus][#tipText]
  38.       pointSize = 14
  39.       if inShotMode() then
  40.         shotText = "The Free Shot mode is exactly like the Bonus Round. It is fun to play and will also help you to learn the location of all the ingredients in the bar." & RETURN & RETURN
  41.         put shotText before pMember
  42.       end if
  43.     else
  44.       temp = "Starting Bonus Shot Round..."
  45.       pointSize = 24
  46.     end if
  47.   else
  48.     if gGameLevel = 0 then
  49.       returnMe = RETURN
  50.       pMember.FirstIndent = -10
  51.       temp = "Using Tools and Pouring:" & RETURN & RETURN & "* Click on any item and RELEASE the mouse button to pick the item up. Move to an appropriate target and click again to use the item." & returnMe & "* Hit the SPACE bar to return an item to its original place in the bar." & returnMe & "* To place a glass on the bar top, pick it up, move it to the bar top, and click again." & returnMe & "* Position a bottle or the ice scoop over an appropriate vessel until it tilts, then click and HOLD to pour." & RETURN & RETURN & "          For important details click the HELP link below."
  52.       pointSize = 12
  53.     else
  54.       if inGameMode() then
  55.         if pHeaven then
  56.           temp = "Welcome to Bartender Heaven."
  57.           pointSize = 18
  58.         else
  59.           temp = formatObjectives(gGameLevel + 1)
  60.           pointSize = 14
  61.         end if
  62.       else
  63.         temp = "Starting Recipe Practice..."
  64.         pointSize = 24
  65.       end if
  66.     end if
  67.   end if
  68.   pMember.text = temp
  69.   pMember.fontSize = pointSize
  70.   pMember.Tabs = oldTabs
  71. end
  72.  
  73. on endSprite
  74.   pSpr.visible = 1
  75. end
  76.